package com.it.blog.entity;

/**
 * @Author: 羡羡
 * @Date: 2022/01/28/16:57
 *
 * 管理员
 */
public class Admin {
    /**
     * ID
     */
    public int id;
    /**
     * 账号
     */
    public String usaction;
    /**
     * 密码
     */
    public String uspass;
    /**
     * 昵称
     */
    public String usnick;
    /**
     * 电话
     */
    public String usiphone;
    /**
     * 头像
     */
    public String usimg;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsaction() {
        return usaction;
    }

    public void setUsaction(String usaction) {
        this.usaction = usaction;
    }

    public String getUspass() {
        return uspass;
    }

    public void setUspass(String uspass) {
        this.uspass = uspass;
    }

    public String getUsnick() {
        return usnick;
    }

    public void setUsnick(String usnick) {
        this.usnick = usnick;
    }

    public String getUsiphone() {
        return usiphone;
    }

    public void setUsiphone(String usiphone) {
        this.usiphone = usiphone;
    }

    public String getUsimg() {
        return usimg;
    }

    public void setUsimg(String usimg) {
        this.usimg = usimg;
    }

    public Admin() {
    }

    public Admin(String usaction, String uspass, String usnick, String usiphone, String usimg) {
        this.usaction = usaction;
        this.uspass = uspass;
        this.usnick = usnick;
        this.usiphone = usiphone;
        this.usimg = usimg;
    }

    public Admin(int id, String usaction, String uspass, String usnick, String usiphone, String usimg) {
        this.id = id;
        this.usaction = usaction;
        this.uspass = uspass;
        this.usnick = usnick;
        this.usiphone = usiphone;
        this.usimg = usimg;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", usaction='" + usaction + '\'' +
                ", uspass='" + uspass + '\'' +
                ", usnick='" + usnick + '\'' +
                ", usiphone='" + usiphone + '\'' +
                ", usimg='" + usimg + '\'' +
                '}';
    }
}
